|
Poster:
|
Jonathan Aizen |
Date:
|
March 11, 2004 02:44:30am |
|
Forum:
|
etree
|
Subject:
|
Re: Format of text file for best import |
The parser is written in PHP using Perl regular expressions.
The regular expression for the location field is:
/(.*\, {0,1}[A-Za-z]{1,}.*)/
For the source field it is:
/source: *(.*)/i
For the lineage field it is:
/lineage: *(.*)/i or
/transfer: (.*)/i
For the taper it is:
/taped by: *(.*)/i
For the transferer it is:
/transfered by: *(.*)/i or
/conversion *: *(.*)/i
I hope this helps
Jon